<html xmlns:th="http://www.thymeleaf.org">
<link type="text/css" href="/topjui/css/myui.css" rel="stylesheet"/>
<form id="customerform" method="post" style="padding-top:1px">
<input type="hidden" id="id" name="id" value="0">
<table class="editTable">
    <tr>
        <td class="label">栏目名称</td>
        <td>
            <input type="text" name="title"  class="selectp" data-options="required:true" style="width:212px;">
        </td>
    </tr>
    <tr>
        <td class="label">所属栏目</td>
        <td >
            <select id="pid" name="pid"  class="selectp" style="width: 240px;"  >
                <option th:each="collect,iterStat : ${category}" th:value="${collect.id}" th:text="${collect.text}"></option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="label">栏目类型</td>
        <td>
            <select name="type" style="width: 240px;" class="selectp">
                <option value="0">目录结构</option>
                <option value='1'>单页结构</option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="label">导航状态</td>
        <td>
            <select name="nav" style="width: 240px;" class="selectp">
                <option value="1">显示</option>
                <option value='0'>隐藏</option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="label">栏目排序</td>
        <td>
            <input type="text" name="sn"  class="selectp" data-options="required:true" style="width:212px;">
        </td>
    </tr>
    <tr>
        <td class="label">栏目描述</td>
        <td>
            <input type="text" name="display"  class="selectp" data-options="required:false" style="width:212px;">
        </td>
    </tr>
    <tr>
        <td class="label">状态</td>
        <td>
            <select name="status" style="width: 240px;" class="selectp">
                <option value="1">正常</option>
                <option value='0'>禁用</option>
            </select>
        </td>
    </tr>
</table>
</form>
</html>